(function($){
  Drupal.behaviors.fSearch = {
    attach: function () {
      $('#f-search-page #edit-submit').hide();
      $('#f-search-page #edit-type').change(function() {
        $('#f-search-page #edit-submit').trigger('click');
      });
      $('#f-search-page #edit-city').change(function() {
        $('#f-search-page #edit-submit').trigger('click');
      });
      $('#f-search-page #edit-dis').change(function() {
        $('#f-search-page #edit-submit').trigger('click');
      });
      $('#f-search-page #edit-order').change(function() {
        $('#f-search-page #edit-submit').trigger('click');
      });
    }
  };
})(jQuery)  

